updated beat code for new librosa, mir_eval