Updated onsets to account for beginning of scan
Removed redundancy