Fix iOS6 Deprecations and Floating Point Warnings

We love clean code. Please Pull these changes in.