typo
added test for math
defined flag for CoreGraphics availability