fixing train-autoencoder demo
Merge pull request #5 from soumith/master

fixing train-autoencoder demo