fix several missed import from IRnages and matchMatrix issues