Jed, I am reading your implementation of the chebyshev code. The algorithm does not seem to be the same as the version I am familiar with. Did you implement it according to some paper or book?