improved argument structure of functions, added function for automatic creation of LaTeX tables with
dynamic values.