modified relative direction calculations
fixed the heading pointing direction for the display