Correction of ultrasonic wavefront distortion using backpropagation and a reference waveform method for time-shift compensation | Synapse