If I had stock in my ira and I sold some can I do the capital gains and loss to get the taxable amount down?