Started porting RMHMC