Made curve fit remove points
refactored the saving of workflow revisions