Fix biophysical model so that if probabilities sum to zero skip to the next edge.