added sparse_init to autoencoder