Merge pull request #3 from courtf/master

polygonContainsPoint and various tweaks