create.autoencoder function

Create an autoencoder for dimensionality reduction