to2DArray

Converts the data map to a 2-D array. The values of the map are extracted