Variational Methods in Molecular Modeling