copy and rename cache vector solve to cache matrix invert