Domain Walls in Bent Nanowires