Update recognize_gesture.c