Why did the Nets trade Kenyon Martin?

Okay what I think is that they believed he was hurting them more than helping them. Plus look at them now, I'm acutally quite glad they got rid of him for the, because if they didn't they probably wouldn't have Vince Carter...