add getresiduetoterminal.m,optimizebracket.m,bracket2exactrule.m and modified GlycanStruct.m and inferGTGlySubstr.m