* optimizing out the exp call for 0 values. this results in a ~6% speedup on NER training