fix bugs half implemented back_propagation to training nn