app: Add core extension for CGPoint and Array