my cached inverse matrix calc