Merge pull request #3 from blackholexyg/master

Fix some bugs
Update construct_table.m