ENH: added parameter to use periodic x-coordinates

@jaimefrio I've checked the performance and `np.concatenate()`` was about 5 times faster... for arrays with ~100 elements...