cache inverse matirx