successfully implemented mini-batch backpropagation