Fixed Entropy Calculation Bug

GitHub user hortocam discovered a bug in the entropy calculation code
that was resulting in the blind entropy being under-estimated. This has
now been resolved.