Cached inverse matrix computation implemented