Updating to use new fitting function in auroraplot.