added curtis-clenshaw quadrature and added the basic routines required for higher order accuracy including stencil construction
added a test TE estimation routine. Still need to work out the bugs