set zero to matrix