PositionMapping

getMappedPosition() maps the index of an 2D array to a 1D array, using
(pos = X + Width * Y) | Width = #Columns).