corrected the initialization of denom variable in LogProbLoss