Fixing name convention for rescued "calculate_compass" function.