Added multinomial logistic loss function