Modelling and compensation of positioning errors in robotic machining systems