Fix: now hasPoint() returns false for invalid point.

Fix: now hasPoint() returns false for invalid point.
Merge pull request #2 from dkunin-me/has-point-fix

Fix: now hasPoint() returns false for invalid point.