module for run matrix dot product in parallel