added a few helpers, new analysis functions, running python analysis.py produces output for 3 histograms