fix multiclass ann - we missed one class

I made a mistake in the number of classes in ann. This change should correct ann XOR test, and after 5 training steps MNIST dataset can have 90%+ accuracy.