Fixed typo and bug in MCMC diagnostics.