Fix bad variable names in quadratic objective

Variables in the quadratic objective section were named x instead of VAR. This fix makes the variable names consistent.