reworked params.py to calculate the necessary parameters for the simulation