added epoch training; neural network learns updown