Added orthodromic distance code

Also provided from github.com/jeromer (Gist:
https://gist.github.com/jeromer/1883777)