fixed the bugs in IEEE 1981, 2005 exciter