mostly changes to make_plots, some fixed to best_fit function