Using Metropolis-Hasting sampling for PGM-type distributions

Using Timbre for logging
Sampling works properly now

The rain example is good to go. Must fix the traffic example.