A computationally inexpensive filter for IMUs
I found this video a few months ago and asked the author for a copy of his paper as soon as it was available. Just received it today. Here are links to both.
PDF report with source code:
http://www.scribd.com/doc/29754518/A-Efficient-Orientation-Filt