Propagation of Radio Waves Over a Nonuniform Layered Medium