init recursive autoencoder implementation