@lalemon M669 controls the kinematics. You can define your own matrix. See https://duet3d.dozuki.com/Wiki/Gcode#Section_M669_Set_kinematics_type_and_kinematics_parameters
I’m not sure what a Jacobian matrix is, though! Please explain more if you need more help.

Ian