Updated TriangleIntersection so that it actually works...