Cleaned up warnings when using sizeof() in math.