complete net capital gain/loss calculations