Added some new functions

Added functions to convert CGPoints to CGVectors and CGVectors to
CGPoints.