Switched to dn/dlogm form of IMF in MC sampling.