Scipy Curve Fit R2r