Magnetic texture in iron nanowire arrays