ARIMA function

Simulation of an ARIMA(p,0,q) surrogate for a given time series x