Moving some code around in jacobian.sv