This is an adaptation of non-linear least squares
inversion for earthquake location.
A residual function is supplied,
and iterations are performed until the location
is determined.
References
Lee, W.H.K., and S.W. Stewart,
Principles and Applications of Microearthquake Networks, Academic Press, New York, 1981.