Algo for peak picking derived from Sift