Nested Do Loops of Complex Arrays