How Protein Structure Affects Function