Added the ability to plot the fit functions on top of the data.