removeInitialConditions function

Remove initial conditions.