Bearing/heading

Hello Xavier,

I have slightly modified your code as I needed not only distance but bearing as well. I can share the patch if you'd like to investigate/include.

Thanks for the module, it saved me lot of time.

Cheers