create matrix with all possible combinations