Proposal of a Decision Method of Position and Orientation of Target Shape for Machining from Complicated Workpiece Shape