Numpy Change Specific Values Integration