Initial version of the matrix inversion cache implementation