Added new methods for pointinpolygon module