Fix on null comparison

Small fix on polygon null comparison. There was an unhandled exception
if the polygon was null
Added support for negative coordinates

On a suggestion from a user, I have added the support for negative
coordinates
Merge pull request #10 from gzuri/master

Merging just few minor things