Text this: Gesture recognition based on bayesian inference of distributed arm trajectory