Preivously chebyshev coefficients were being added into the param dictionary even if they weren't present at instantiation, showing up in the params as an empty list. This PR protects that from happening with an if statement and adds a regression test.
Fixes #142
Preivously chebyshev coefficients were being added into the param dictionary even if they weren't present at instantiation, showing up in the params as an empty list. This PR protects that from happening with an if statement and adds a regression test.