If you have put the distributor back in the proper position and its not out a tooth you might try to disconnect the battery for a few minutes (5-10 to be safe) to reset the computer. I really think you're out by a tooth which has changed the timing though...