Renamed baselinefit to manualfit and changed things such that we save both the manual fit and the corrected data instead of only getting the corrected data