Finished implementation for sound cave simulation.