expected.item function

Function to calculate expected value of item