Batch Neural Network Training implemented