Correcting a bug using delay in boundary conditions and improving transient sections