Improve curve fitting and add goodness of fit section
Add html version