Adding functions to set complex initial condition