Correct the mutual information functions.

Add serveral additional version of mutual information calculation
function.
The precision-recall of mutual information is not satisfied.