Adding the "referenceEllipsoid" function (code form only).