Magnetic Field integrated into ofxAndroid / Working example
Values from the accelerometer still need to be connected to OFAndroidMagenticField to fix rotation Matrix