Peptide flexibility and calculations of an ensemble of molecules | Synapse