Did you have the cam timing checked. It sounds like one of the cams might be a tooth off. Thats where I would start. It will still run even with the cam timing off and the only way it will set the CEL on is if the cam with the sensor is the one that is off a tooth. Hope this gets you a step in the right direction. Let me know.
L8R
Scott