mutual information neural estimation implementation
mutual information neural estimation implementation based on gtegner's repo