script of multivariate ACE model with covarites