Find the closest minimum going down hill
object that contains property x (an ordered increasing array) and y (an array).
options.
an object with the x/y value.
Find the closest minimum going down hill