Changed triangle class so that you pass the triangle 3 nodes instead of position vectors when you are instantiating it