Added softmax and log softmax activation functions