An iPhone-friendly Kalman filter written in C.