added curve_fit error estimates
added error from curve_fit