Rankmax: An Adaptive Projection Alternative to the Softmax Function