set entire row and col to zeros if one element in matrix is zero