Accelerometer and Gyroscope now work correctly