does it mean the matrix object is released in this class?