Output through softmax function