Correct duplicates and variables inside functions.
Edit variable declarations in list
Create a function
Merge remote-tracking branch 'origin/master'
Edit the global variables.
Move global variables
Create latlng objects for $start and end
Edit the create treff main function
Add Get Place function calc midpoint, and cartesian.
Add the arch distance function.
Merge remote-tracking branch 'origin/master'