added a mtx_roptmp and revised the calling of mtx_regulars