Waveform inversion of seismic reflection data through local optimisation methods