A Multi-Scale and Level Set Algorithm for the Inverse Problem of Wave Equation