Python Numpy Array Maximum Value Of Quadratic Function