begin quadratic analysis
simplify quadratic model and add quadratic terms