Apparently hit an issue with the entropy calculation and very small probabilities...