Implemented functionality to get a bearing between two points.