PTDetect and twoclass

Peak detection algorithms