Fix the 'params_list' function.

Now it can take as many parameters as it cans.