added triangleControl, fixed bug so now new triangles are created with users material choice