Added functionality for dealing with MCMC results.