Modeling the covariance and correlation matrix of repeated measures