i was having a lot of problems getting a dictionary key to link to a 2d array. This maps the 2d array into a 1d array that is linked to the dictionary key.