Added modified version of MRS1 from Kevin.