Decision Tree Loss Function Definition