Determination of Flat-End Cutter Orientation in 5-Axis Machining