Calculation, inverse kinematics solution using damped least squares method