Updated to use batch pythia conf which ensures randomizing.
Refactored analysis to shorten code by putting tree variables into a map. This will also make it possible to fool gcc into not optimizing away computations when we compile without ROOT.