Code cleanup
Quadratic model.