Implement a "matrix object" that can cache the inverse of the matrix