added parallel mutual information calculation