updated charge error and gamess header file syntax