minimal changes
added comments and documentation to plotter.py and trial_stats.py