adding declarations of single beta functions
store traces in the parameter classes to avoid redundant calculations