Implement Matrix inverse cache