We should add a unit test to check that rhat values and autocorrelation function is the same length as the number of parameters.