rename loc_fit as glob_fit
rename naive_kl as l
fix example
fix clumsy computation in importance sampling
fix cache updating issue in variational sampling