adjusted parameters for peak metric

Changed the threshold from 0.5 to 0.02 peak ratio. If other parameters
(nbins, k) are changed, this will need to be adjusted.