Rudimentary AvTrajHist.py working