numerical jacobian calculation added