I suggest building one with any Matrix libraries you have available. It is a great exercise (if sometimes frustrating). There is nothing like covariance matrices blowing up in your face to teach you the machinations of the Kalman Filter.<p>Also a great exercise in scientific computing.