Cutting, machining conditions by optimisation of time, cost, accuracy