added code for old style LRMI, and added tests for it