changed bpm codde to power of 2 for FFT and setup data storage and fixed bugs runon sentence