Generates a covariance matrix from Wishart distribution with given
eigenvalues or with exponentially decreasing eigenvalues. Useful for examples
and tests when an arbitrary covariance matrix is needed.
This function generates a symmetric positive definite covariance matrix with
given eigenvalues. The eigenvalues can be specified explicitly. Or, by
default, they are generated with exponential decay.