added call to simplify in jacobian