Added function point_in_poly().