tinkered with beat finding algorithm and added some test data