Fixes printing the matrix for each stamp