fixed problems with phi_scf=NAN in background_initial_conditions()