A new Approach to Optimum Robot Path Positioning and Orientation