Program for controlling the timing on a solenoid engine.