Add methods to Autoencoder for encoding and decoding a dataset. Fixes #25.