Update find_onset.m