fit function

Estimation of the ARIMA model