added peak detection library from sixtenbe