randomTerms function

Extract estimates of random effect terms