bug fixes to cython wrappers for mc_cpp, need to the wrapped functions yet (tested in cpp though)