added a first broken implementation of Autoregression