added scoring plotting function, and made plotting functions methods