Calculating expected numbers in a 2 x 2 contingency table