Implemented fitPeaksMax method

Implementation of fitting a peak by just the height of the peak.