rebalanced softmax is hacked into multinomial_logistic. now going to try and do something a bit cleaner