fixed some bugs in splineAndFitStrongHits if the peakfit of all hits in a type fails