Fixed the coarsen bug in the fitter(), and moved the shiny new functions from data to fun.