Fix a bug in read_gromacs_params.py affecting OPLSA-AA dihedral coeffs. Significantly speed up ring
testing in typing.py.