Gyroscope class

Wrote a Gyroscope class. No testing done at all, so doubtful that it
works.