Implemented normalization in softmax

This solves the exp overflow. However: q_value - mean  = 0, positive or
negative. Is this what we want?