The present disclosure includes a generalized kinematics library which may be used to control the motion of a machine tool system and to process data for other applications, such as simulation graphics. Methods are disclosed to interpolate the movement of various axes of a machine tool system through a machine singularity point.