Collecting the Jacobian entries; dumping code for debugging