Source code we will update this website with links to more source code soon. Creates a matrix to be used for calculating distances the. Generic function to make a prediction for a time series if a.