multi-harmonic potential for dihedral type

I don't know if you still need this but a new "Fourier" dihedral style
was recently added to LAMMPS:

http://lammps.sandia.gov/doc/dihedral_fourier.html
(Thanks Loukas!)

Andrew