point_circle_distance function

Helper function to compute distances from a point to the circle