Remove magic numbers
Clean up chebyshev_filter