modified megan_plotter and added consolidate_samples