Issue 951 - added documentation to Table-functions

I added the remaining tests of Issue #951 (dont actually know how to put links in here, this is my first pull request). All tests of table are working fine.