Try and get math working again (2nd attempt)

First try didn't work

Signed-off-by: Alec Ari <neotheuser@ymail.com>