Added some doc and fixed a few things in the Table class