Calculation of Expected Values