Add polyline and distance from point to polyline.

@dgearhart @gknisely