Tool selection for five-axis curvature matched machining