Statistical Mechanics, Protein Structure, and Protein Substrate Interactions