Simulations Of Laser Propagation And X-Ray Radiation Generation In Laser Wakefield Accelerators.