Skip points with NaNs in point_in_path and friends
Minor fixes
Merge pull request #3759 from mdboom/point_in_path_nan

points_in_path can fail with NaN data