Kernel-based function learning in dynamic and non stationary environments