Ray Tracing in Warm Magnetoplasma and Applications to Topside Resonances