I think a lot of the suggestions miss the point that the engine runs but poorly due to either timing or fuel. I think the initial issue was the timing being 180* out and that was corrected. Obviously the cam installation is not a problem because it runs and runs smoothly. A timing light would make quick work of identifying a timing issue. A shot of ether would help identify a fuel issue.