fixed some bugs with estimation of variance terms (cluster and group)