The last point in each contour should wrap around to the first
Merge pull request #1 from evanw/master

Last curve in a contour is handled incorrectly