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