get_dist_point_line function

Compute distance between a point and a line