fixed a problem with syntax for void *ctx, SNES function and jacobian both working, but getting floating point exception because of a mathematical error, not a technical one.