Fixed entropy formula
Fixed whe function name