Refactors types from CGFloat to CoreLocation types where applicable