How Does The Irs Calculate Capital Gains