Updated plotting script to make it easier to plot multiple variables
Fix another bug preventing plots from being binned correctly