Update quadform.cpp