2 hands, calculating gesture distance

refactor variable names, gesture is chosen by minimal distance between
coefficients, support for both hands not finished