Two Dimensional Array To One Dimensional Wave