Added parameters for pretraining using autoencoders.