Scipy Curve Fit R2