TODO loss_grad, scan_grad for :LIN_EXTRAPOL, :QUADR_EXTRAPOL review plot_interval, profile, update_profile_endpoint! ? use fitting reset as an option