Fix error in nn_train.m
Merge branch 'fixnnerrordisp' into correctrotate