pub fn angle_difference(a: f64, b: f64) -> f64
Calculate the shortest angular difference between two angles