Close boundaries by duplicating first point to last point if necessary
Merge pull request #13 from PhilReinhold/master

Boundaries should be closed