Fixed the C and Fortran wrappers, which were broken by the addition of interaction groups