Added Yury Petrov's ellipsoid fit script