started working on jacobian for quadratic constraints