[FIX] Fixed centroidedPeak function so gauss fit is not tried beyond mz_array limits