Restored array xor functionality that was erroneously removed in the last version.