Separated time series aligning into a separate class TSAlign.