Gesture recognition for kinect