Added submitMatrix to the CMakeLists.txt