Remap matrix