Math Changes.

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