implement evaluation of Chebyshev polynomials