Measuring the Interactions and Cooperativity Between Ionic, Aromatic, and Nonpolar Amino Acids in Protein Structure