Text this: Inverse Kinematics of a Class of 6R Collaborative Robots with Non-Spherical Wrist