Updated 'find_peaks' default to find all of the local maxima after smoothing the data in the channel.
Updated find_peaks to return all peaks observed rather than a specified number. Also, included a similar find_valleys function. Updated mindensity to use both.
Changed the functionality of the 'mindensity' gate to find the cutpoint between two specified peaks.