Moved the parameter calculation functions to a specialized folder