separated the matrix multiplication method into traditional.cpp