Killed problem.jacobian, using a csr_matrix instead, need refactoring