isSimple fixed for triangles.

If polygon vertex count is 3 the method incorrectly returned false and detected the polygon as selfintersecting.
Merge pull request #4 from pshtif/patch-1

isSimple fixed for triangles.