added a line to print the matrix in image