added threshold to each specific gesture based on how well training data matches