I recently installed a used 04' 2.3 engine in a 05' mazda 3 and having problems getting the engine timed. After installation I recieved code p0340-cmp sensor fault and vehicle ran poor, in addition the was what sounded like valve rattle upon acceleration at idle. Swaped over cam sensors and found cams missaligned. Re timed engine without timing tool (on order) and vehicle ran much better. However I now recieve code p0012- timing over retard. I have timed these engines before using improvised alignment tools with no problem. Also swaped out the old cam actuator and oil control valve. Any suggestions please.