acceleration problem, o2 sensor or catalytic converter?

Hey guys, I have 94 civic hatch with D15z1 engine. When I accelerate, 1st and 2nd gears go smoothly but the engine kind of chokes and has lack of power in the 3rd, 4th and 5th gears. some people say it's because of o2 sensor, some say it's the catalytic converter and I was also thinking about reprogramming the whole car computer so the fuel/air mixture is well selected by the computer next time.. Or maybe I should just take the converter out and leave it like that, (don't worry about emission controls) I don't know, can anyone tell me what can be done to fix this? thanks