Range In Python Numpy Array Operations