Fixed Gyroscope Code.