Working version. Uses TGraph output
Added TH2D functionality
Now uses TH2D instead of TGraph for output. Program seems slower but can now do ProjectionX()