isSimple fixed for triangles.

If polygon vertex count is 3 the method incorrectly returned false and detected the polygon as selfintersecting.