updated category data matrix structure. added margin between cells.