Add curve_fit and polyfitn