Gesture Recognition Using The XWand
An introduction to Hidden Markov Models