ReturnHermitecoeffs not working properly