Added trajectory logging. Trajectories are now stored and processed in head angles instead of image space coordinates. Gesture recognition now compatible with head movement. Added lowpass filtering of trajectory points to reduce the effect of noise (and head movement) on gesture recognition. Gestures can now timeout, causing an interrupted or completed gesture, depending on state.