A stochastic simulation algorithm with iterative refinement for solving integral equations related to an inverse problem for the wave equation | Synapse