Understanding Capital Gains Tax in New York