Defines RXMagnitude directly as double or float instead of CGFloat.

The decision to use double or float is dependent on LP64, as is the case with CGFloat.

This removes the dependency on CoreGraphics.
Removes another unnecessary use of CGFloat.