cache inverse matrix - first implem