changed time_frequency_scratch over to ipython notebook