fix quadprog example