softmax bug fix and net testing