Complete matrix inverse cache problem