more technical debt paid off - fixed up the autoencoder, need to test it next on some real data