Better routine to decide sign of the peak in findpeak_single()