Interpolation and curve fitting