Made curve_fit.py pep8 compliant (mostly)