Statistics for Gesture recognition with application to human-robot interaction