I finished the job of replacing the timing chain and gears. I switched out the new CKP sensor just in case it was bad. Checked the harmonic balancer vanes and they were as they should be.
Started the car and it started without much hesitation but was idling rough. Finally after a bit of time the check engine light lit. Checked and I still have the code 18 now joined by code 17.
I have gone through all the tests in the GM shop manual. I really need to figure out this problem.
To recap, the coolant sensor, the cam sensor, the crank sensor, the ignition module, and the MAF sensors have been replaced on this car.
The wiring seems to check out fine in the cam and crank circuits.