Text this: Inverse kinematics of a redundant manipulator robot using constrained optimization