Added step gain (u0) and initial condition (x0)