SetMatrixZeroes

set flags for row and column