Fix bearing math