Fix for angle and dihedral fitting error in test input identified by Jeff Comer