Curve Fit Python Method Parameters