Bug fixes for many entropy() and rand!() methods