Implemented cross correlation for time align
remove end trigs for better correlation