Final version of hand detection

The approach is based on measuring distances from fingertips to center mass of the detected hand.