added triangulation routines