parameterCalculation function

additional parameter calculation with help of fits