added triangulation 2.0

this is our preliminary triangulation alogrothm