Add ellipsoid geometry functions