basic matrix structure definition.