Changed values in matrix to spaces and zeros