made sure all allocated arrays in detectorObject are free'd in freePowderMemory, which was renamed to freeDetectorMemory. Also commented out correctedMin,correctedMax,assembledMin,assembledMax since they weren't saved to powder sum file, and changed so that the powder log file saves each hit on an individual line