boundary logic

added some assertions to the outgoing method in Vertex as well as logic
to prevent malformed boundary edges on contraction