Hi,
The GetCellValue method is for Matrix class, and the matrix class (different from Matrix class) has no such method. So, if you want to use the GetCellValue, you have to use the Matrix class. Actually, you can specify the data type for it. For example:
Matrix<short> TestMatrix(mlay); // not sure what type you want, here use short for example
Penn