flux_fitting_lm function

linear fit to gas concentration over time