Kernel Based Model Parametrization and Adaptation with Applications to Battery Management Systems.