Kinect based skeleton tracking