change the CGPoint to CGVector

change the CGPoint to CGVector