Structural code to fix bearing calculation problem.