renamed to get_jacobian_matrix