Big update to Time_delay.py. Will rename to soundD soon