successfully implemented mini-batch backpropagation v2