cov_autocorrelation: Constructs a p-dimensional covariance matrix with an autocorrelation
(autoregressive) structure.
Description
This function generates a $p \times p$ autocorrelated
covariance matrix with autocorrelation parameter
rho. The variance sigma2 is constant for
each feature and defaulted to 1.