Fixed 2 small errors +  function

int to uint
added function to find the vertex opposite to a BoundEdge