Fixed bugs in gof_plot and summary_plot