Added code which gets the start of the beat tracking, calculates fourier transforms to find the beat