Function to evaluate logLoss score for a set of probabilities.