Added probability calculation method to probabilistic fence