Beat detection code that isn't working, cleaned up a bit.
Improved beat detection to repeat the detection algorithm as it should be. Though still not working properly.
Merge. Got rid of tempo branch since I should be able to get Beat Detection algorithm to work.