Add linearInterpolation function
Remove unused fromTime function
Use smaller values in test time series
Update examples