minst: use multiclass.
Add softmax and fix some bugs.