added missing standard exemption to tax calculation