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