Fix invalid geometries

This fixes a self-intersection error.
Merge pull request #2 from pnorman/patch-1

Fix invalid geometries