Numpy Array Maximum Value Formula