document quadprog