Rename function to reflect what it actually does
Triangulation function