Fast approximation of Kullback-Leibler distance for dependence trees and hidden Markov models | Synapse