Bug fix for librosa anaylsis code