Replace accelerometer and magnetometer sensors with rotation vector.
Tweaked parameters to process data more accurately.
Use radians instead of degrees, and add new sensor event listener
system.