How frequently does Matlab neural network toolbox functions updates the Weights? one training vector at a time? a full batch average (average of all vectors in each epoch)? or by mini batches? In the last case, what criteria is used to choose the batches' size?