removed loops for zero-initializations of arrays in allocatePowderMemory, since calloc initializes all bits to zero (eq to 0 for int, long, uint, uint16_t, float, double), so no need for further initialization
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
found a bug in allocatePowderMemory where a powder loop was lacking end parenthesis, changed indentation to make it clearer...
merged jonas into giraffe