Comment Half of Houston knows how to do this (Score 1) 260
The seismic data processing has been dealing with this computational problem since the 50's. There are scads of different approaches used by all the geophysical data processing companies in processing seismic data for oil exploration. You can check out some free software supplied by the Colorado School of Mine at their Center for Wave Phenomena that does precisely what you want.