ImageJ macro for importing a 2 frame timeseries and correcting for time shift and registration