Remove calls to chebpoly2() and replace with chebcoeffs2().