manually computed jacobian now working!
minor