Multi-class neural net.