First major revision for using contractive autoencoder. Prob many bugs