added dsmatrix print and show methods