Computational Design of Structured and Functional Peptide Macrocycles.