added string to the k,c,and m matrix