Complete solutions for 5-Axis Machines