Adding methods (autoencoders and greedy algo)