An inverse kinematics solver in PyOpenGL