Learning Continuous Time Bayesian Networks in Non-stationary Domains