elim orientation array
remove indexarray
elim mappedarray
rm arrays mod
elim positionsarray