Update table.h

Missed the closing brace for st_table[][]
Did the last 6 functions
combine with Kyle's functions