Function that creates a matrix with the combination of all possible row vectors with 't' elements equal to 1 and 'J-t' elements equal to 0. If 't' is NULL the function generates all the possible combinations of vectors of length 'J' with elements (1,0).