Added method for converting gyro to global