Updated plotting code to allow for plotting multiple samples, and to scale raw data points based on their confidence