add print matrix