Modified ``Minibatches`` to support minibatch resizing.
Modified ``Minibatches`` to support minibatch resizing.

SMART-Lab/smartlearner,ASalvail/smartlearner,havaeimo/smartlearner,SMART-Lab/smartpy,MarcCote/smartlearner