findpeaks: final conditions of the algorithm have been changed
findpeaks: parameters correctness conditions changed