edited header file for attributeMatrix compatibility