fixed bug. now theres a working version of gaussian quadrature.