Memory leak in saveCXI, noisy pixel masking and tof detector class fixed.
resolved conflict