Smooth Trajectories for High-Performance Multi-Axes Automatic Machines