Updated calculator.
Updated calculation.