a matrix generator for globalization test