Fix math error in chance calculator.

Signed-off-by: Michael Howe <mike@mcsnetworks.com>