minor bug fix in teacher_MeanGP