code for evaluating Chebyshev polynomials
Merge remote-tracking branch 'fredrik/master'