bpnn traning on MNIST