Adds new fitPeakFunctions, only needing slices, peak class and numbers, which returns a list of composite functions. peakFit now masks this, returning the list of APeaks for that list of composite functions.