A 3D 4-axis manipulator simulation is created by OpenGL. Calculate the forward kinematics and Jacobian matrix of the 3D 4-axis manipulator and use the pseudo-matrix.