inverse matrix value caching assignment