Distance from a point to a line