its in the dizzy, tells the ecu what the engine is doing so it knows when to send the spark.
have a good look at the wiring around the engien also, i had a dodgy wire to the fuel rail which caused the car to jerk every now & again for about a mile, then cut out stone dead.