add simple linear regression option for curvefit