Automatically Defined Templates for Improved Prediction of Non-stationary, Nonlinear Time Series in Genetic Programming