Update softmax regression test
Add preprocessing tools.