Minor change.
Added multinomial logistic regression.
Implemented some tests and fixes for multinomial logistic regression.