impose_zero function

Impose zeros in matrix entries which do not correspond to an edge.