Inverse martix & cache