change lavJacobianC to lavJacobianD if complex numbers are problematic