added nonstationary trainer, added minibatch size parameter to config