Only runs 40 Degrees advanced

I think I would pull the timing chain off and set everything back to where it is supposed to be using a degree wheel and then go from there making sure the distributor is phased correctly, the reluctor is right side up, the plug wires are in the correct order and on the correct plugs and it is not 180 degrees off. Pretend that you are setting it up for it's first run.
If there is any of that which you are not familiar or comfortable with doing yourself, then look for someone who experienced is to help you do it all. and do all of it with the proper tools and measurements... no more shortcuts!