Start of conditional probability calculations