C# based experiments in probabilistic graphical models