Cached version of matrix inversion.