Hi, I'm using Gromacs 2020 for my simulations and I need to use some forcefield parameters published in the literature for calcite. The thing is that the paper I'm using gives force constants in k2 and k4 for improper dihedrals, with the function form E=(k2)(d^2)+(k4)(d^4), instead of the more common harmonic potential form. I have also checked all other improper dihedral functions Gromacs takes and it just seems this isn't available. Has anyone encountered this problem with Gromacs before and how do I solve it, if possible at all?