Atomic structure of amorphous CdO from first principles simulations