centre function

Centres (converts to zero-mean) the time series.