oops. chebcoeffs -> chebpoly where necessary.