Computational Folding