Inverse kinematic solutions with singularity robustness for robot manipulator control