located several gap bugs, fixed input file typos.