PEP8 cleaning
detect_peaks now accepts MaskedArray, peaks outisde mask won't be detected