Inversion of seismic reflection data through focusing