Added gyro, barometer, and accelerometer functions