Fixed rhwrite and undid accidental deletion of CHD4 ver of RHMR.java