Started working on plotting code.

Also converted some boolean flag use_scores into a method call.