Computing hyperelliptic integrals for surface measure of ellipsoids