updated capture kinect and added GUI

Also added comparision function