Numpy Create Structured Array Numpy Python Functions