fixed jacobian-double; experimenting with fixes to jacobian-add