multithreaded fmprb_mat_mul