Added gyro to code