revised bearing computation