Softmax regression solved using Newton-CG.