Added loss functions documentation