Added function to estimate block probabilities.