removing printing of the matrices