Add Lilla's mutual information functions.