jacobian with array inputs and outputs - almost working