updated some comments
added parallelized tempo extraction