How Does Depreciation Affect Capital Gains Tax