Least squares and Chebyshev fitting for parameter estimation in ODEs