Domain walls and exchange-interaction in Permalloy/Gd films