change entropy to log2 from log