Text this: Analytical and numerical studies of generalized eikonal formalism for stationary waves in linear and nonlinear media /