Entropy, Mutual Information, KL-Divergence related to Shannon's information theory and functions to binarize data