Added analysis functions and table tab