working on EntropyEstimator