Python Array Maximum Value Parabola