The relationship between protein dynamics and function for the MHC class I antigen presenting molecule