Calculates tax for citizens and calculates tax refund