Added the linear quadrature and updated testing framework.