add matrixThread.cpp