Acoustic- and elastic-waveform inversion using a modified total-variation regularization scheme | Synapse