Separate before tax calc. from after tax calc.
Set and update var to new tax pcnt. paid
Rename parameter
Add parameter to 'toMoney' function for deducting calculated amount