Implementation of Time-Optimal Trajectory for Machine Tools by Contouring Control