Human Arm Inverse Kinematic Solution Based Geometric Relations and Optimization Algorithm