Added loss functions documentation
Sparse tokens are working with new ANNs