Numpy Generate Random Array Within Functional Limits