Reviewed point-inside-polygon algorithm and code refactoring