Minor
[behdad] Fix distance_to_point implementation

And remove the "unexplained" 2x factor.  I believe this is
quite solid now.