Fix bugs in Table.cxx

additionally some stuff in Bastian's analysis were changed