Numpy Array Change Values Based Investing