Compute Mutual Information