commiting a local fix to the findpeaks bug (I think)
fixed a bug in the signal package, accounted for different behavior of findpeaks