Update generateCourse.lua

Now we have, start point on field edge corner  (the nearest to the `fieldWorkCourse` start point). Also added , the calculation of the turning maneuver if the join between headland and field work course is near to 180 deg +/- 5 deg.