This fixes several math errors that were noticed why working on the PFD.
Specifically, the PFD did not properly rotate for the viewpoint, and the
calculation of the waypoint bearing was not performed from the vehicle's
location.