Tesselation

Added code to generate tesselating triangles.