entropy function

Entropy