matrix multiplication -  pthread