cov2theta function

Compute a Packed Representation of a Covariance Matrix