Minor stuff: when peaks (resp. peakangles) are deleted the peakangles (resp. peaks) are not updated.
e.g : When two peaks are added to the FrameGetter, it automatically adds two peak angles (as shown when calling getPeakAngles). But if we remove one peak (by calling setPeaks with only one peak), getPeakAngles still returns two angles.