Improvements to rational_sruface_closest_point