Added UTriangulate class + fixes