Building up an array in numpy/scipy by iteration in Python?,"array([0, 1, 4, 9, 16])"