Cached matrix for inverted matrix computation