Python Curve Fitting Example