Implemented functions to compute and cache the matrix inverse.