fix examples

@lileicc 

I fixed many examples, but the following are still broken:

- example/aircraft-wandering.dblog (broken in 0.8 as well -- "all particles have zero weight")

I also changed MultivarGaussian, Dirichlet, Multinomial, Discrete to operate on column vectors.

We can either review / merge this now, or fix the remaining examples, then merge.