[EHN] Possible helper function to easily create parameters and a function to use them

Uses the inspect module to get the function args.