parameters function

Calculates the parameters parameters calculates the parameters