threadsmpitest: added index set for matrix