Modified sparse_dataset, added tutorial for sparse_autoencoder

Modified library to allow for training sparse_autoencoder