Function pointToVector

Converts a Point to a Vector relative to an origin.