Tried to make curve_fit.py PEP8 compliant