Gravar-mail: Derivation of force fields for molecular mechanics and dynamics from ab initio energy surfaces