Guide to gyro and accelerometer with Arduino including Kalman filtering

What algorithm are you using?