Several improvements to tf_dics

* Move noise_csd calculation out of loop across time windows to avoid
unnecessary computation
Using equal length time windows in example