Added debugging print statements to check the math on the probability calculation and print the number of operators of each type for each replica.