time the engine up with the two camshaft pointers pointing at each other and then line the rotor arm up with the notch on the distributor housing. I think the rotor arm needs to be within 20 degrees of this mark.
Also check your phase sensor wires, if youve disturbed them its very common that the insulation just falls of and the two wires touch.
Good luck!