Ray Tracing Directly in a 3-D Ellipsoidal Earth Model for Multiphase Global Arrivals