[MF] Jacobian for datacost using general function

the function name is projection_jacobians