Construct for caching inverse matrix