Inverse Kinematics of PUMA 560 robot