changed function tables

removed index as an entry from functions and values
added separator and prefix for functions
prefix comes before a function entry (e.g. sin)
separator separates inputs within the function (e.g. , for average)