Added explanatory comments to AllowanceCalculator