Replaced non-existent CGGeometry functions with equivalent (but existing) Archimedes functions.

Why are you calling functions that don't exist? Seriously, [there's no such thing](https://developer.apple.com/library/ios/documentation/graphicsimaging/reference/CGGeometry/Reference/reference.html) as `CGRectCenterPoint`.

Replaced phantasmal functions with Archimedes functions.