Adding degree-2 polynomial terms