added sigmaRho function for fixed& random effects