I may actually be able to understand the math needed to compute orientation from readings given by an accelerometer, magnetometer, and gyroscope. I was looking at a library on Github which referenced two texts that are actually understandable (with work). The other texts I have found are NOT understandable, at least not by me.