Using error diff to determine steady state end time. Running phase diagram inputs.