ZeroMatrix.__nonzero__ returns False