Fix fitting a single dataset
Improve histograms, fix last bin
Only do MathJax if a fit was made

Also unhide results when fitting single dataset
Replace all formulas with the new fit.