get y value for an x for any ellipse