inverse kinematics and leap motion for a robot arm