Bayesian Networks' Reliability and Multiway Networks for Gaussian and Non-Gaussian Distributed Data