Long-Distance Gesture Recognition Using Dynamic Neural Networks