Implement simpler strategy to iteratively find nearest points on paths.

Based on method described on http://pomax.github.io/bezierinfo/
Improve algorithm.