hacked it to not use SNES solve, instead just form J, f and KSP solve for dv directly