The Variational Approach to Conformational Dynamics