now prints the sequence of operations with whole matrix as well