Added ability to fit background with Chebyshev polynomials