ARp function

Autoregressive model of order p