Added softmax activation function.