autoencoder function

Train an Autoencoding Neural Network