Fixed memory leaks, Gaussian estimator and pmf delta estimator structural changes

Memory leaks in various places fixed, mostly to do with single stream estimation.
Gaussian estimator simplified to reduce code duplication, outputs files in a more ordered way.
PMF delta estimator now takes event data in to reduce the number of times files are read.