Write out the fitting functions

Rather than a table.
Clean up fit graph, ready to use.