Began implementing Cython version of replica mixing