computing the spectrum for a high-dimensional autoregressive model generated data