Leap motion using two hands to move character

Concept is to use leap motion, when both hands are stretched out, the character is moving forward and when both hand retrieve backward, the character will move backwards. the direction of the movement is depending on the both hand pointing direction.

the leapMoving.cs script is created as follows and attached to the first person controller in the unity.