Fixed bug in rejection sampler
Starting work on general RBPF case and MLNLG.