First-Principles Study of the Magnetic Structure of Na2IrO3.