Function toCartesian

Converts a Vector to a Cartesian coordinate. If the provided value is already Cartesian, it is returned.