Text this: Gesture recognition based on the probability distribution of arm trajectories