Finds the max y value and return a {x,y,index} point
object that contains property x (an ordered increasing array) and y (an array).
max point.
Finds the max y value and return a {x,y,index} point