new sync script

uses interpolation to align two signals with different temporal basis