Bugfixes in histogram estimation, poisson estimation and noise thresholding. Removing median filtering