fixed bugs in H2triangulation