Algorithm that find the peaks of a signal. You can choose the number of peaks you want to find and the valour of peak to begin to find.