2-Level Factorial Design Generator

Generate the orthogonal matrix for optimizing up to 4 factors simultaneously.