linear_fit and transformation

added linear subtraction. can now make all setting with one call and
run the transformation and graphing with another. need to error test.