Update tiledMatrix.cpp