calculatePeaks_gui function

Calculate Peaks