New CmakeLists.txt : can use the matrix algorithm