DNN, training not working