Reliability and Criticality Analysis of Communication Networks by Stochastic Computation