findClosestPoint algorithm: calculate ellipse radius correctly ...

... only calculate dom coordinates for range data boundaries
update combined script