passed g into EMest instead of sigmaavec and pi.init
fixed bug in NegativeProb computation to exclude 0