emBayes with bug fixed