Added axes parameter for gyroscope, and period for gyroscope should now work, added documentation comments.