special 'matrix' object which can cache its inverse matrix.