Added degrees -> compass heading converter.
Added NSString -> hex int method.