bug fixes

DetectorConstruction:  The world volume was originally made with air, this caused very few full-energy electron detections.  TechVacuum itself is too high pressure and will be changed in the suppressed files after investigation (it is currently unused elsewhere in the program)

EventAction:  SortEvent() brought outside the step loop, so that energy per step deposit can be summed accordingly.

PrimGen: There was no direction involved in the energyrange function  that I initially put into the simulation.