CGRect, CGPoint, CGSize extensions for Swift