Docstrings and curve fitting

- Update some docstrings
- Work on curve_fit function
- curve_fit now accepts limits on fit parameters

Signed-off-by: Dustin Ngo (laptop) <dustin.ngo@gmail.com>