API change: approximator should return number of coefficients which will generate
implemented API change
time series segmentation tests