change some defs to vals for caching, matrices now define how big they are
Logistic loss for binary predictions, with bias
support for negative sampling in trainers