softmax tests (fortran ordering and c ordering