Fixed avg log-likelihood computation