Computational and numerical aspects of full waveform seismic inversion