No need for a integer numbatches

May calcaulate a wrong mini-batch mean squared error in nntrain.m