v1.07.05 Fixed code for when gyro is null