#2 First working yaw and pitch. Need correction
#2
#2 SensorGyroscopeMagneticOrientation is replaced by SensorGyroscopeGravityOrientation
#2 SensorGyroscopeMagneticOrientation is replaced by SensorGyroscopeGravityOrientation