Working Back propagation to train convolutional and nn layer