added generative and observation model as well as sampling method
added functions to infer decoding vectors using different methods