normalized mutual information python