fix an incorrect computation in Amazing Grace AI
minor adjustment on ZhenLie AI
adjustment on TiaoXin AI
minor adjustment on XuanHuo AI (by Mystery333)
remove obsolete codes in XuanHuo AI