[Wekalist] Adding loss functions to Weka