This may be an issue in some of the calc_bearing functions, if they're converting between geographic and polar coordinate systems. Check if geographic bearing is interpreted the same in the two hemispheres, and if the calc_bearing functions (which use trig) work the same in both hemispheres.