[WIP] Began implementing Cython version of replica mixing

I've added a Cython file, as well as a `cythonize()` call in setup.py. Still a WIP, but wanted to put up the code now.