Prediction in evolutionary algorithms for dynamic environments using markov chains and nonlinear regression