handle greatcircle and euclidean distance in DTWCost, fix numpy->R
fix indexing when concatenating pd frames in getSequences