Minor fixes to gyroscope