fix jacobian function argument, examples now run, passing check #10