Fixed a bug and improved interface in MCMC stats (ess, actime and var)