save instance matrices,