Refactored old mrege method into mergeRows() and mergeColumns(). Improved these methods by bringing new perpendicular labels with them. Added methods getRowDistinct() and getColumnDistinct() to DataGrid, and corresponding method getDistinct() to DataGridVector.