Implemented mutual information and distributional properly