Development and application of free energy methods