The class is for square matrix over integer ring.It is subclass of IntegerMatrix.
compute smith normal form for nonsingular matrix, and return the list of diagonal elements.
compute smith normal form M and U,V satified U*self*V=M, and return IntegerMatrix tuple (U,V,M).