maximum entropy (multinomial logisitc regression) tookit with L1 and L2 regularization support