Create Numpy Array Using Factors