bug fix for average. the average of inference target x should be logit(rho0).