Refactor Gelman Rubin calculation
The following discussion from !541 (merged) should be addressed:
-
@colm.talbot started a discussion: (+1 comment) I'm happy to leave this until later, but we should pull out this calculation into a function on its own. I think we also have a similar implementation as part of the ptemcee wrapper.