Python Numpy Array Set Negative Slope Vs Positive Slope