Swapped names of triangles so that the upper most triangle is upper most in the code. For clarity.