Added functions for reading/writing Vector3d points to a file.