cleaned up sparse autoencoder section