More correct calculation of salary tax. Not using deduction before soscialsecurity tax calculation, but deducting socialsecurity tax and minstefradrag" from total salary before income tax is calculated.
Bracket tax is still calculated using the salary without deduction.
Deduction config is moved to a function with configurations supporting, max, min and percentage deduction - to calculate the deduction dynamically within the limits.