added function

Translated the Data Out array into a translation index to be used by the
memory managment file.