Running Cumulative sum of 1d NumPy Array,y = np.cumsum(x)