Edited comments in set values section.
Created method calculateExpectedValue() to be 
called in factor set values section.
Fixed method calculatedExpectedValue, needed to remove 
section to convert expected value and place after method call.