Peak hold and peak detector method