Added batch size and online propagation training.